/* Override some stupid ATNF defaults. */
#content p { font-family: 'Oxygen', sans-serif; font-weight: normal; text-align: left; }
#content { overflow: visible; }
.pagefooter { clear: both; }

#input-data { width: 34%; padding: 0.1em; border: 2px solid #aaa; border-radius: 2px; float: left; }
#interview { width: 64%; padding: 0.1em; float: right; border: 1px dotted black; font-family: 'Oxygen', sans-serif; }
.interview-panel { margin: 0.1em; padding: 0.2em; /*border: 1px solid black;*/ font-family: 'Oxygen', sans-serif; }
.mode-button { width: 47%; margin: 0% 1%; }
.navigation { font-size: 1.3em; color: Purple; cursor: pointer; }
.navigation-permanent { font-size: 1.3em; color: Purple; cursor: pointer; }
.navigation-previous { float: left; padding: 0.6em; width: 40%; }
.navigation-previous div { padding-bottom: 0.4em; }
.navigation-next { float: right; padding: 0.6em; width: 40%; text-align: right; }
.navigation-next div { padding-bottom: 0.4em; }
.button-wrap-div { text-align: center; width: 100%; }
h2 { font-family: 'Oxygen', sans-serif; }
h3 { font-family: 'Oxygen', sans-serif; margin-left: 0.5em; }
.option-left { width: 48%; float: left; text-align: center; }
.option-or { width: 2%; float: left; content: 'OR'; color: red; position: relative; top: 2em; }
.option-right { width: 48%; float: right; text-align: center; }
.option-help { text-align: left; margin: 0px auto; width: 90%; background-color: #f3961c; 
	       padding: 0.8em; position: relative; font-size: 1.2em; line-height: 1.2em; }
.option-help:before, .option-help:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.option-help:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}
.option-equations { text-align: left; margin: 0px auto; width: 90%; background-color: CadetBlue;
		    padding: 0.8em; position: relative; font-size: 1.2em; }
.option-equations h3 { font-size: 1.1em; text-align: center; color: black; font-weight: bold; padding: 0;
		       margin: 0.2em; }
.option-equations ul { list-style-type: square; margin-top: 0.3em; }
.invisible { display: none; }
.transparent { opacity: 0; }
.filled-result { font-weight: bold; color: #0d66a2; }
.results-summary > ul { list-style-type: square; font-size: 1.2em; margin-bottom: 0.6em; }
.close-float { clear: both; }
.topcoat-button-bar { margin: 1em auto; text-align: center; }
/* label { font-family: 'Oxygen', sans-serif; vertical-align: -20%; } */
.interactive-table { width: 100%; border: 0px; margin: 1em 0; }
.interactive-table-listing { width: 100%; border-collapse: collapse; border: 1px solid black; margin: 0.4em 0; }
#input-data-table th, .interactive-table th, .interactive-table-listing th { 
    font-family: 'Oxygen', sans-serif; vertical-align: middle; padding: 0 0.3em;
    font-weight: bold; text-align: right; position: relative; }
.interactive-table th { padding: 1em; }
.interactive-table-listing th, .interactive-table-listing td { text-align: center; padding: 0.3em; 
							       border: 1px solid black; }
.input-data-table-help { position: relative; }
#input-data-table th > p { display: none; }
#input-data-table div > p { display: none; }
#input-data-table th:hover > p { display: inline; }
#input-data-table div:hover > p { display: inline; }
/* .input-data-table-help p { display: none; }
.input-data-table-help:hover p { display: inline; } */
#input-data-table td, .interactive-table td { font-family: 'Oxygen', sans-serif; padding: 0.2em; }
.interactive-table td { padding: 1em; }
.topcoat-tab-bar { background-color: #e5e9e8; border-collapse: collapse; }
.topcoat-tab-bar__button-squashed,
.topcoat-tab-bar__button-squashed:disabled { 
    padding: 0 0.1rem; margin: 0; vertical-align: top;  }
.switch__toggle:before, .switch__toggle:after, .topcoat-switch__toggle:before, .topcoat-switch__toggle:after {
    z-index: 1; }
.topcoat-switch__toggle:before {
  content: 'YES';
}
.topcoat-switch__toggle:after {
  content: 'NO';
}
.topcoat-tab-bar-inline { display: inline-block; }
.tab-bar-centered { margin: 0px auto; margin-top: 1em; margin-bottom: 1em; }
.topcoat-button--large--cta { margin-left: 5%; margin-right: 5%; margin-top: 0.4em; margin-bottom: 0.4em;
			      width: 90%; }
.button-reset-defaults { background: Gold; color: black; }
.button-reset-defaults:hover { background: #ffdf33; color: black;}

.md-modal { position: fixed; top: 50%; left: 50%; width: 50%; height: auto; z-index: 2000;
	    max-width: 630px; min-width: 500px;
	    visibility: hidden; -webkit-transform: translateX(-50%) translateY(-50%);
	    -moz-transform: translateX(-50%) translateY(-50%);
	    -ms-transform: translateX(-50%) translateY(-50%);
	    transform: translateX(-50%) translateY(-50%); }
.md-modal-image { max-width: 800px; border: 2px solid black; }
.md-content {  color: white;  background-color: #e74c3c; border-radius: 3px; }
.md-content-image { color: black;  background-color: white; }
.md-content h3 { color: white; background: rgba(0,0,0,0.1); border-radius: 3px 3px 0 0;
		 opacity: 0.8; font-weight: 300; font-size: 2.4em; text-align: center;
		 padding: 0.4em; }
.md-content-image h3 { color: black; font-size: 1.6em; }
.md-content > div { padding: 15px 40px 30px; margin: 0; font-weight: 300; font-size: 1.15em; }
.md-content > div p { margin: 0; padding: 10px 0; }
.md-content button { display: block; margin: 0 auto; border: none; padding: 0.6em 1.2em;
		     background: #c0392b; color: white; text-transform: uppercase;
		     cursor: pointer; border-radius: 2px; }
.md-content-image > div { text-align: center; }
#results-spectral-rms-image { cursor: pointer; }
#modal-spectral-rms-image { max-width: 90%; }
.md-show { visibility: visible; }

.md-effect-1 .md-content {
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 0;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
}
.md-show.md-effect-1 .md-content {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
}
.results-summary { margin: 2em; padding: 1em; }
.results-summary-chooser { width: 100%; border: 1px solid black; border-collapse: collapse; 
			   margin-bottom: 1em; }
.results-summary-chooser td { text-align: center; padding: 0.3em; cursor: pointer; width: 33%; 
			      font-weight: bold; text-transform: uppercase; border: 1px dotted black; }
td.choice-continuum { background-color: SkyBlue; }
div.choice-continuum { border: 4px solid SkyBlue; }
td.choice-spectral { background-color: #66cdaa; }
div.choice-spectral { border: 4px solid #66cdaa; }
td.choice-zoom { background-color: #ffdab9; }
div.choice-zoom { border: 4px solid #ffdab9; }
.results-parameter-table { border: 2px solid black; border-collapse: collapse; margin: 1em auto;
			   width: 90%; font-size: 1.2em; }
.results-parameter-table caption { font-weight: bold; text-align: center; padding: 0.3em; }
.results-parameter-table tbody th { background: black; font-weight: bold; color: white;
				      text-align: right; padding: 0.2em 0.4em; }
.results-parameter-table tbody td { text-align: left; padding: 0.2em 0.6em; border: 1px dotted black; }
.results-parameter-table thead th { background: Navy; font-weight: bold; color: white;
				    text-align: center; padding: 0.2em; border: 1px dotted white; }

.spectral-rms-small { width: 95%; margin: 1em auto; text-align: center; }
.spectral-rms-small figcaption { font-weight: bold; width: 90%; text-align: left; 
				 margin: 0px auto; }
.spectral-rms-small img { width: 80%; }

input[type="radio"] {
    display: none;
    margin: 10px;
}

input[type="radio"] + label {
    display:inline-block;
    margin: 0px -2px 2px -2px;
    padding: 4px 9px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 14px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #e5e9e8;
    background-image: -moz-linear-gradient(top,#eee,#ccc);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#eee),to(#ccc));
    background-image: -webkit-linear-gradient(top,#eee,#ccc);
    background-image: -o-linear-gradient(top,#eee,#ccc);
    background-image: linear-gradient(to bottom,#eee,#ccc);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}

input[type=radio]:checked + label {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    background-color:#e0f0fa;
    color: #0083e8;
}

/* ===================================================================
== BUBBLE WITH AN ISOCELES TRIANGLE
** =================================================================== */

/* THE SPEECH BUBBLE
---------------------------------------------------------------------- */

.triangle-isosceles {
	position:absolute; width: 15em;
	right: 100%;
	/* top: -100%;*/
	/* bottom: -200%; */
	bottom: -4.2em;
	padding:15px;
	margin:1em 0 3em;
	color:#000;
	background:#f3961c; /* default background for browsers without gradient support */
	/* css3 */
	background:-webkit-gradient(linear, 0 0, 0 100%, from(#f9d835), to(#f3961c));
	background:-moz-linear-gradient(#f9d835, #f3961c);
	background:-o-linear-gradient(#f9d835, #f3961c);
	background:linear-gradient(#f9d835, #f3961c);
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}

/* Variant : for right positioned triangle
------------------------------------------ */

.triangle-isosceles.right {
	margin-right:50px;
	background:#f3961c;
}

/* THE TRIANGLE
---------------------------------------------------------------------- */

/* creates triangle */
.triangle-isosceles:after {
	content:"";
	position:absolute;
	bottom:-15px; /* value = - border-top-width - border-bottom-width */
	left:50px; /* controls horizontal position */
	border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
	border-style:solid;
	border-color:#f3961c transparent;
	/* reduce the damage in FF3.0 */
	display:block; 
	width:0;
}

/* Variant : top
------------------------------------------ */

.triangle-isosceles.top:after {
	top:-15px; /* value = - border-top-width - border-bottom-width */
	right:50px; /* controls horizontal position */
	bottom:auto;
	left:auto;
	border-width:0 15px 15px; /* vary these values to change the angle of the vertex */
	border-color:#f3961c transparent;
}

/* Variant : left
------------------------------------------ */

.triangle-isosceles.left:after {
	top:16px; /* controls vertical position */
	left:-50px; /* value = - border-left-width - border-right-width */
	bottom:auto;
	border-width:10px 50px 10px 0;
	border-color:transparent #f3961c;
}

/* Variant : right
------------------------------------------ */

.triangle-isosceles.right:after {
	bottom:16px; /* controls vertical position */
	right:-50px; /* value = - border-left-width - border-right-width */
	top:auto;
	left:auto;
	border-width:10px 0 10px 50px;
	border-color:transparent #f3961c;
}

/* ======================================
== BUBBLE WITH AN OBTUSE TRIANGLE
** ====================================== */

/* THE SPEECH BUBBLE
----------------------------------------- */

.triangle-obtuse {
	position:absolute;
	left:0;
	bottom:0;
	width: 20em;
	height:auto;
	z-index:9999;
	padding:15px;
	margin:1em 0 3em;
	color:black;
	/* background:#c81e2b; */
	/* css3 */
/*	background:-webkit-gradient(linear, 0 0, 0 100%, from(#f04349), to(#c81e2b));
	background:-moz-linear-gradient(#f04349, #c81e2b);
	background:-o-linear-gradient(#f04349, #c81e2b);
	background:linear-gradient(#f04349, #c81e2b); */
	background:#f3961c;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}

/* THE TRIANGLE
----------------------------------------- */

/* creates the wider right-angled triangle */
.triangle-obtuse:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:30px; /* controls horizontal position */
	border:0;
	border-left-width:30px; /* vary this value to change the angle of the vertex */
	border-bottom-width:20px; /* vary this value to change the height of the triangle. must be equal to the corresponding value in :after */
	border-style:solid;
	border-color:transparent #f3961c;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* creates the narrower right-angled triangle */
.triangle-obtuse:after {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:30px; /* value = (:before's left) + (:before's border-right/left-width)  - (:after's border-right/left-width) */
	border:0;
	border-left-width:10px; /* vary this value to change the angle of the vertex */
	border-bottom-width:20px; /* vary this value to change the height of the triangle. must be equal to the corresponding value in :before */
	border-style:solid;
	border-color:transparent #fff;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}